Backport python3-grpcio recipe from upstream/dunfell#10
Merged
amstewart merged 13 commits intoni:nilrt/master/sumofrom May 7, 2021
Merged
Backport python3-grpcio recipe from upstream/dunfell#10amstewart merged 13 commits intoni:nilrt/master/sumofrom
amstewart merged 13 commits intoni:nilrt/master/sumofrom
Conversation
Align recipe for python protobuf code generator for gRPC with grpc itself and python-grpcio. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Update python-grpcio and add related python3-grpcio recipe for recent features and bug-fixes. Signed-off-by: Jens Rehsack <sno@netbsd.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Patch to fix ppc build Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Tim "moto-timo" Orling <TicoTimo@gmail.com> Cc: Derek Straka <derek@asterius.io>
Refresh patch to apply cleanly Fix build for RISC-V Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Using COMMON_LICENSE_DIR in LIC_FILES_CHKSUM of downloaded code is never the right thing to do, there must be some license information and that has to be checked instead. In several cases the claimed LICENSE was also incorrect. Signed-off-by: Adrian Bunk <bunk@stusta.de> Signed-off-by: Khem Raj <raj.khem@gmail.com> Dropped parts of the commit which did not touch the python*-grpcio* recipes. When rebasing upon OE upstream, upstream's version of this commit should always be preferred. Rebased-by: Alex Stewart <alex.stewart@ni.com>
Remove recipes which require python2 from the layer. Those recipes are moved to meta-python2 and are not required here any longer. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com> Dropped parts of the commit which did not touch the python*-grpcio* recipes. When rebasing upon OE upstream, upstream's version of this commit should always be preferred. Rebased-by: Alex Stewart <alex.stewart@ni.com>
Merge inc file into bb, there are no other users of it Delete gettid patch, fixed differenty upstream Add code to use cross compiler in setup.py Define GRPC_PYTHON_DISABLE_LIBC_COMPATIBILITY so it does not use SYS_clock_gettime syscalls since it does not work when 64bit time_t is used on 32bit arches Signed-off-by: Khem Raj <raj.khem@gmail.com>
When building python3-grpcio-native, we will meet do_compile error because of no 'cc'. In fact, 'cc' is not in our hosttools. So fix to use gcc and make the patch also apply to native. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
1. Keep '-std=c++11' and '-std=gnu99' to fix native build error with old gcc (such as gcc 5.4.0 on ubuntu 16.04); for clang, remove them through setting GRPC_PYTHON_CFLAGS at do_compile in bb recipe 2. While export CC="gcc ", cc_args is empty, it will cause subprocess.Popen always return 1. On centos 8, if you don't install package libatomic, there will be a native build error `cannot find /usr/lib64/libatomic.so.1.2.0'. Add no harm '-g' to cc_args if cc_args is empty. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
While enabling ccache, build python3-grpcio-native failed: ... |error: can't copy 'tmp-glibc/work/x86_64-linux/python3-grpcio-native/ 1.27.1-r0/build/lib.linux-x86_64-3.8/grpc/_cython/ cygrpc.cpython-38-x86_64-linux-gnu.so': doesn't exist or not a regular file |ERROR: 'python3 setup.py build ' execution failed. ... So disable ccache to workaround the failure. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Ensure libseil-cpp can build for rv32 and boringssl riscv patch considers rv32 separate from rv64 Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
Knowledge share video of this set of commits being cherry-picked from Dunfell->sumo |
billpittman
approved these changes
May 6, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The
python3-grpciopackage is a dependency of theni-grpc-deviceptests. Its recipe was added to OE/upstream starting in the dunfell branch. This patchset cherry-picks all commits which touch that recipe family, such thatpython3-grpciois now build-able.This patchset involved dropping some unrelated parts from the following commits.
Testing
@ni/rtos